<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>

<script>
    var a = 3;
    var b =4 ;
    var c = a>b ? 1:0 ;
        alert(c)
</script>
</body>
</html>